<?php
/**
 * Created by xuan.
 * Author: xuan
 * Date: 2018/8/4
 * Time: 18:24
 */

namespace app\api\model;
use think\Db;

class Account extends BaseModel
{	
	//protected $table = 'Account';
	
	public static function getCount($where){
        return model("Recharge")->where($where)->sum('money');
    } 
	
}